#include <iostream>
#include <cmath>

using namespace std;

int main(){

	int n ;
	long long n2;
	cin >> n;
	n2 = pow(2,n);
	cout <<  n2 << endl;

    return 0;
}
